package cn.zyq.ykb.mapper.task;

import cn.zyq.ykb.beans.task.MyTask;
import cn.zyq.ykb.beans.task.vo.MyTaskVo;
import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import cn.zyq.ykb.system.config.common.BaseMapper;

import java.util.List;
import java.util.Map;
/**
 * 我的任务领取Mapper接口
 *
 * @author SystemAuth
 * @date 2023-05-22
 */
@Component
@Mapper
public interface MyTaskMapper extends BaseMapper<MyTask> {
    List<MyTask> list(Map<String, Object> param);

    Integer selectByTaskIDDsh(Integer taskID);

    Integer selectByTaskIDYwc(Integer taskID);

    MyTask selectMyTask(Integer taskID,Integer userID);

    List<MyTaskVo> selectByTaskID(Integer taskID);

    List<MyTask> taskList(Map<String, Object> param);

    List<MyTask> getMyTask(Map<String, Object> param);

    int getNumber(@Param("userID") Integer userID);

    int getYNumber(@Param("userID") Integer userID);

    int getRNumber(@Param("userID") Integer userID);
}
